package com.hmall.order.Constants;

/**
 * @author Lewis
 * @date 2023/4/9 16:24
 * description 订单常量类
 */

public class OrderConstants {

    /**
     * 订单的状态，1、未付款 2、已付款,未发货 3、已发货,未确认 4、确认收货，交易成功 5、交易取消，订单关闭 6、交易结束，已评价
     */
    public static final Integer NON_PAYMENT = 1;
    public static final Integer ACCOUNT_PAID = 2;
    public static final Integer DELIVERED = 3;
    public static final Integer RECEIVED = 4;
    public static final Integer CANCELED = 5;
    public static final Integer COMPLETE = 6;

    /**
     * 支付类型，1、支付宝，2、微信，3、扣减余额
     */
    public static final Integer ALIPAY = 1;
    public static final Integer WECHAT = 2;
    public static final Integer DEFAULT_PAY = 3;
}
